import { DefaultLayout } from '@/components/layouts'

const Paths = [
  {
    path: '/',
    component: DefaultLayout,
    meta: { title: "首页", group: "apps", icon: "", requiresAuth: true },
    redirect: "/dashboard",
    children: [
      {
        path: '/dashboard',
        name: 'Dashboard',
        meta: { title: "仪表板", group: "apps", icon: "dashboard" },
        component: () => import(/* webpackChunkName: "Dashboard" */ "@/views/Dashboard.vue")
      },
      {
        path: '/assets',
        name: 'assets',
        meta: { title: "资产", group: "apps", icon: "assets" },
        component: () => import(/* webpackChunkName: "Assets" */ "@/views/Assets.vue")
      },
      {
        path: '/orders',
        name: 'orders',
        meta: { title: "订单", group: "apps", icon: "assets" },
        component: () => import(/* webpackChunkName: "Assets" */ "@/views/Orders.vue")
      },
      {
        path: '/fee-rules',
        name: 'feeRules',
        meta: { title: "计费规则", group: "apps", icon: "assets" },
        component: () => import(/* webpackChunkName: "Assets" */ "@/views/FeeRules.vue")
      },
      {
        path: '/developer-console',
        name: 'DeveloperConsole',
        meta: { title: "开发控制台", group: "apps", icon: "DeveloperConsole" },
        component: () => import(/* webpackChunkName: "DeveloperConsole" */ "@/views/DeveloperConsole.vue")
      }

      
    ]
  },
  {
    path: '/login',
    component: () => import(/* webpackChunkName: "login" */ '@/views/Login.vue')
  }
]

export default Paths
